import * as types from './mutation-types'

<<<<<<< HEAD
const mutations = {
	[types.SET_SINGER](state,singer) {
		state.singer = singer;
	},
	[types.SET_SONGLIST](state,songlist) {
		state.songList = songlist;
	},
	[types.SET_PLAYING_STATE](state,flag) {
		state.playing = flag;
	},

	[types.SET_FULLSCREEN](state,flag) {
		state.fullScreen = flag;
	},

	[types.SET_PLAYLIST](state,list) {
		state.playList = list;
	},

	[types.SET_SEQUENCELIST](state,list) {
		state.sequenceList = list;
	},

	[types.SET_MODE](state,mode) {
		state.mode = mode;
	},

	[types.SET_CURRENTINDEX](state,index) {
		state.currentIndex = index;
	}
	
}
=======

const mutations = {
	[types.SET_SINGER](state,singer){
		state.singer = singer
	},
	[types.SET_PLAYING_STATE](state,flag){
		state.playing = flag
	},
	[types.SET_FULL_SCREEN](state,flag){
		state.fullScreen = flag
	},
	[types.SET_PLAYLIST](state, list) {
	    state.playList = list
	},
	[types.SET_SEQUENCE_LIST](state, list) {
	    state.sequenceList = list
	},
	[types.SET_PLAY_MODE](state, mode) {
	    state.mode = mode
	},
	[types.SET_CURRENT_INDEX](state, index) {
	    state.currentIndex = index
	}
}





>>>>>>> 2f2681559102dd200f119afb607054cf37b8104a
export default mutations